/*
 * Copyright (c) 2025 Industrial Software Feature Database
 */
package com.comac.ins.isfd.domain.bo;

import com.comac.ins.common.tenant.core.TenantEntity;
import com.comac.ins.isfd.domain.IsfdSceneMapStep;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.util.List;

/**
 * 系统地图-步骤业务对象 isfd_scene_map_step
 *
 * @author hxloongs
 * @date 2025-03-03
 */
@Data
@AutoMapper(target = IsfdSceneMapStep.class, reverseConvertGenerate = false)
public class IsfdSceneMapStepBo extends TenantEntity {
    /**
     * 步骤描述，描述该步骤的具体内容
     */
    private String stepDescription;

    /**
     * 步骤排名，用于排序显示步骤顺序
     */
    private Long stepRank;

    /**
     * 选中的要素库类型和模型id
     */
    private List<ChoseDataBaseAndModel> modelRefList;

    @Data
    public static class ChoseDataBaseAndModel {
        /**
         * 当前步骤要素库类型id
         */
        private Long databaseTypeId;
        /**
         * 当前步骤下的父模型id
         */
        private Long modelId;
    }
}
